﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Sys.Dtos
{
    public class DynamicDataSourceDto
    {
        public string Id { get; set; }
        public string EName { get; set; }
        public string CName { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }
        public DbType DbType { get; set; }

        public long Cid { get; set; }
        public long Uid { get; set; }

        public bool IsValid { get; set; }

        public string ConnectionString { get; set; }

        public bool IsAutoCloseConnection { get; set; } = true;

        public string Description { get; set; }
    }
}
